import './assets/main.scss'
import 'vant/lib/index.css'

import { createApp } from 'vue'
import pinia from './stores/index'

import App from './App.vue'
import router from './router'

import { Button, Tabbar, TabbarItem, NavBar, Toast, Search, Swipe, SwipeItem, Grid, GridItem, Icon, Rate, ActionSheet, Dialog, Checkbox, CheckboxGroup  } from 'vant'

const app = createApp(App)

app.use(pinia)
app.use(router)

app.use(Button)
app.use(Tabbar)
app.use(TabbarItem)
app.use(NavBar)
app.use(Toast)
app.use(Search)
app.use(Swipe)
app.use(SwipeItem)
app.use(Grid)
app.use(GridItem)
app.use(Icon)
app.use(Rate)
app.use(ActionSheet)
app.use(Dialog)
app.use(Checkbox)
app.use(CheckboxGroup)

app.mount('#app')
